package com.wx.tnsenterprise.mapper;

import com.wx.tnsenterprise.model.po.HrPo;
import com.wx.tnsenterprise.model.vo.HrVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 林建权
 * @version 1.0
 * @date 2020/7/28 17:56
 */
@Mapper
public interface HrMapper {
    List<HrPo> findAll();

    int insert(HrPo hrPo);

    int update(HrPo hrPo);

    int delete(Integer id);

    HrPo findByPhone(String phone);

    int updateByHrVo(HrVo hrVo);

    HrPo findById(Integer id);
}
